<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
import Admin from '@/components/Admin'

export default {
  name: 'App',
  components: {
    Admin
  },
  mounted () {
    const html = document.querySelector('html')
    const ww = document.documentElement.clientWidth
    html.style.fontSize = `${ww / 100 * 10}px`
  }
}
</script>

<style>
*{
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-overflow-scrolling:touch;
  margin: 0;
  padding: 0;
}
html,body{
  margin: 0;
  padding: 0;

  background-color: #F5F5F5;
  width: 100%;
  height: 100%;
}
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow-y: scroll;
}
</style>
